<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="catalog_files/filelist.xml">
<title>files:  man##.sav are sst save sets that have the following </title>
<!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Author>Mathew D McCubbins</o:Author>
  <o:Template>Normal</o:Template>
  <o:LastAuthor>mmccubbins</o:LastAuthor>
  <o:Revision>2</o:Revision>
  <o:TotalTime>1</o:TotalTime>
  <o:Created>2006-03-24T06:05:00Z</o:Created>
  <o:LastSaved>2006-03-24T06:05:00Z</o:LastSaved>
  <o:Pages>1</o:Pages>
  <o:Words>551</o:Words>
  <o:Characters>3143</o:Characters>
  <o:Company>UCSD</o:Company>
  <o:Lines>26</o:Lines>
  <o:Paragraphs>7</o:Paragraphs>
  <o:CharactersWithSpaces>3687</o:CharactersWithSpaces>
  <o:Version>10.2625</o:Version>
 </o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:DrawingGridHorizontalSpacing>6 pt</w:DrawingGridHorizontalSpacing>
  <w:DrawingGridVerticalSpacing>6 pt</w:DrawingGridVerticalSpacing>
  <w:DisplayVerticalDrawingGridEvery>0</w:DisplayVerticalDrawingGridEvery>
  <w:UseMarginsForDrawingGridOrigin/>
  <w:Compatibility>
   <w:BalanceSingleByteDoubleByteWidth/>
   <w:DoNotLeaveBackslashAlone/>
   <w:ULTrailSpace/>
   <w:DoNotExpandShiftReturn/>
   <w:UsePrinterMetrics/>
   <w:WW6BorderRules/>
   <w:FootnoteLayoutLikeWW8/>
   <w:ShapeLayoutLikeWW8/>
   <w:AlignTablesRowByRow/>
   <w:ForgetLastTabAlignment/>
   <w:AutoSpaceLikeWord95/>
   <w:LayoutRawTableWidth/>
   <w:LayoutTableRowsApart/>
   <w:UseWord97LineBreakingRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	mso-layout-grid-align:none;
	punctuation-wrap:simple;
	text-autospace:none;
	font-size:12.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
p.MsoMacroText, li.MsoMacroText, div.MsoMacroText
	{mso-style-noshow:yes;
	mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	tab-stops:24.0pt 48.0pt 1.0in 96.0pt 120.0pt 2.0in 168.0pt 192.0pt 3.0in;
	mso-layout-grid-align:none;
	punctuation-wrap:simple;
	text-autospace:none;
	font-size:8.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=EN-US style='tab-interval:.5in'>

<div class=Section1>

<p class=MsoNormal>files:<span style='mso-spacerun:yes'>� </span>man##.sav are
sst save sets that have the following </p>

<p class=MsoNormal>variables for the ## Congress: SRCN -- sequential roll call
number;</p>

<p class=MsoNormal>HR -- HR or HRES number, with HRES being negative; COMMEE --
</p>

<p class=MsoNormal>the number of the committee that originated the bill or to
whom</p>

<p class=MsoNormal>the hres is pointed.</p>

<p class=MsoNormal><span style='mso-spacerun:yes'>������� </span>leghis##.sav
are sst save sets that have HR number, COMMEE,</p>

<p class=MsoNormal>FATE -- a code for what happened to the HR, SFATE -- a code
for</p>

<p class=MsoNormal>the HR's fate in the Senate; RULE -- a code for the rule
under</p>

<p class=MsoNormal>which HR was considered on the floor; HREPTs -- House Report
number;</p>

<p class=MsoNormal>and HRESs -- number of House REsolutions attached to the HR;
and</p>

<p class=MsoNormal>CONFREPT -- the number of any conference report on the bill.</p>

<p class=MsoNormal><span style='mso-spacerun:yes'>�������� </span>compute2.cmd
is the subroutine that computes the percent</p>

<p class=MsoNormal>agreement (PAGREE##) variable for each committee from the
roll call</p>

<p class=MsoNormal>data and the manual data (RCALL##.SAV and MAN##.SAV), and
the</p>

<p class=MsoNormal>average absolute value of dem yes votes in the commee and on
the</p>

<p class=MsoNormal>floor.</p>

<p class=MsoNormal><span style='mso-spacerun:yes'>�������� </span>main.cmd is
the main program for computing our</p>

<p class=MsoNormal>committee-roll call scores</p>

<p class=MsoNormal><span style='mso-spacerun:yes'>�������� </span>rcall##.sav
is the set of roll call votes for the ##</p>

<p class=MsoNormal>Congress, together with party and committee information on
each</p>

<p class=MsoNormal>member.<span style='mso-spacerun:yes'>� </span>This file
contains VOTE## to VOTE## -- the roll call votes</p>

<p class=MsoNormal>in sequential number, ICPSR, C1 to C4 (committee assignments
1 to 4</p>

<p class=MsoNormal>for each member), PARTY (100 for D, 200 for R).</p>

<p class=MsoNormal><span style='mso-spacerun:yes'>���������
</span>FNFE##&amp;&amp;.cmd are the subroutines that contain the FOREACH</p>

<p class=MsoNormal>listing for the votes from each committee for the ##
Congress.</p>

<p class=MsoNormal><span style='mso-spacerun:yes'>��������� </span>scores##.sav
-- are the committee-roll call scores for the</p>

<p class=MsoNormal>## Congress -- see the 98th for definitions.</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>---------------------------------------------------------------------------------------------------------</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>1.<span style='mso-spacerun:yes'>� </span>create sst save
files from the LST files of SRCN and HR, HRES</p>

<p class=MsoNormal>numbers.<span style='mso-spacerun:yes'>� </span>First, read
[SRCN HR] from HR##.LST, save it into</p>

<p class=MsoNormal>TEMP##.SAV.<span style='mso-spacerun:yes'>� </span>Second,
read [SRCN HR] from HRES##.LST, save it into</p>

<p class=MsoNormal>MAN##.SAV.<span style='mso-spacerun:yes'>� </span>Third, set
HR=-1*HR (this sets HRESs negative).<span style='mso-spacerun:yes'>�
</span>Fourth,</p>

<p class=MsoNormal>do not quit sst, now load and append TEMP##.SAV</p>

<p class=MsoNormal>into MAN##.SAV.<span style='mso-spacerun:yes'>�
</span>Fifth, subtract 10 from SRCN.<span style='mso-spacerun:yes'>�
</span>Save file as</p>

<p class=MsoNormal>MAN##.SAV.</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>2.<span style='mso-spacerun:yes'>� </span>Create sst save
file from sst##.dat.<span style='mso-spacerun:yes'>� </span>The format is:</p>

<p class=MsoNormal>read to[icpsr congno party c1 c2 c3 c4 vote{1-end}] \</p>

<p class=MsoNormal>file[sst##.dat]</p>

<p class=MsoNormal>save as RCALL##.SAV.</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>3.<span style='mso-spacerun:yes'>� </span>Correct
LEGHIS##.DAT.<span style='mso-spacerun:yes'>� </span>Find all &quot;/&quot;,
&quot;CC&quot;, &quot;C0M&quot;, etc.<span style='mso-spacerun:yes'>�
</span>Make</p>

<p class=MsoNormal>sure it is rectangular.<span style='mso-spacerun:yes'>�
</span>Look over Diane Lin's corrections, and</p>

<p class=MsoNormal>check to make sure they make sense.</p>

<p class=MsoNormal>Make sure all committee names have been converted into the
proper</p>

<p class=MsoNormal>numbers.<span style='mso-spacerun:yes'>� </span>See commlist
for the numbers.</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>4.<span style='mso-spacerun:yes'>� </span>read LEGHIS##.DAT
into sst.<span style='mso-spacerun:yes'>� </span>Each file will have different</p>

<p class=MsoNormal>length lines and each will need a different format
statement.<span style='mso-spacerun:yes'>� </span>Look</p>

<p class=MsoNormal>into the code sheets and into the .DAT files to figure out
the</p>

<p class=MsoNormal>format statement.</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Variable names are [HR COMMEE FATE SFATE RULE HREPT1 HRES1
CONFRPT1</p>

<p class=MsoNormal>HREPT2 HRES2 CONFRPT2 HREPT3 HRES3 HREPT4 HRES4 HREPT5
HRES5].<span style='mso-spacerun:yes'>� </span>Not</p>

<p class=MsoNormal>all of these variables are used every time.</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Set HRES*=-1*HRES*</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Save into LEGHIS##.SAV.</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>5.<span style='mso-spacerun:yes'>� </span>In sst load in
MAN##.SAV.</p>

<p class=MsoNormal><span style='mso-spacerun:yes'>��� </span>fix ## in
MATCH.CMD.</p>

<p class=MsoNormal><span style='mso-spacerun:yes'>��� </span>Run Match.cmd</p>

<p class=MsoNormal><span style='mso-spacerun:yes'>��� </span></p>

<p class=MsoNormal>spool file[check]</p>

<p class=MsoNormal>recode var[commee] map[md==999]</p>

<p class=MsoNormal>print var[srcn hr] if[commee==999&amp;hr&gt;0]</p>

<p class=MsoNormal>spool off</p>

<p class=MsoNormal>check the printed HRs against HOUSE##.MAN to find all errors
in the</p>

<p class=MsoNormal>coding from the manual.<span style='mso-spacerun:yes'>�
</span>Correct all of these in MAN##.CMD</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>rerun MATCH.CMD</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Save MAN##.SAV.</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>6.<span style='mso-spacerun:yes'>� </span>Do not exit
sst.<span style='mso-spacerun:yes'>� </span>run the following statement:</p>

<p class=MsoNormal>foreach (i; {1-23}) {</p>

<p class=MsoNormal>write file[fe##$i] var[srcn] if[commee==$i]</p>

<p class=MsoNormal>}</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>7.<span style='mso-spacerun:yes'>� </span>Quit sst.<span
style='mso-spacerun:yes'>� </span>run the following awk routine.</p>

<p class=MsoNormal>foreach i (fe*)<span style='mso-spacerun:yes'>� </span></p>

<p class=MsoNormal>awk -f fixcmd.awk $i &gt; $i.cmd</p>

<p class=MsoNormal>end</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>check these cmd files.</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>8.<span style='mso-spacerun:yes'>� </span>Move MAIN.CMD and
COMPUTE2.CMD to the subdir.<span style='mso-spacerun:yes'>� </span>Edit
MAIN.CMD as</p>

<p class=MsoNormal>follows: fix the LOAD, RANGE, RUN FE##$i, and SAVE FILE
lines.</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>9.<span style='mso-spacerun:yes'>� </span>Run SST MAIN</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>once it is running, ^Z, bg.</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>done</p>

<p class=MsoNormal><span style='mso-spacerun:yes'>� </span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>
